package com.jy.print.javaprint.pojo;

/**
 * 热合打印数据
 */
public class HeatSealData {

    private String jzmc;//浆站名称
    private String cardId;//卡号
    private String name;//姓名
    private String age;//
    private String sex;//性别
    private String xjbh;//血浆编号
    private String bloodType;//血型
    private String xjType;//血浆类型
    private String xjWeight;//血浆重量


    public HeatSealData() {
    }

    public HeatSealData(String jzmc, String cardId, String name, String age, String sex, String xjbh, String bloodType, String xjType, String xjWeight) {
        this.jzmc = jzmc;
        this.cardId = cardId;
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.xjbh = xjbh;
        this.bloodType = bloodType;
        this.xjType = xjType;
        this.xjWeight = xjWeight;
    }

    public String getJzmc() {
        if (jzmc != null && !"".equals(jzmc)){

        }else {
            jzmc = "定西兰生单采血浆有限公司岷县站";
        }
        return jzmc;
    }

    public void setJzmc(String jzmc) {
        this.jzmc = jzmc;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getXjbh() {
        return xjbh;
    }

    public void setXjbh(String xjbh) {
        this.xjbh = xjbh;
    }

    public String getBloodType() {
        return bloodType;
    }

    public void setBloodType(String bloodType) {
        this.bloodType = bloodType;
    }

    public String getXjType() {
        return xjType;
    }

    public void setXjType(String xjType) {
        this.xjType = xjType;
    }

    public String getXjWeight() {
        return xjWeight;
    }

    public void setXjWeight(String xjWeight) {
        this.xjWeight = xjWeight;
    }

    @Override
    public String toString() {
        return "HeatSealData{" +
                "jzmc='" + jzmc + '\'' +
                ", cardId='" + cardId + '\'' +
                ", name='" + name + '\'' +
                ", age='" + age + '\'' +
                ", sex='" + sex + '\'' +
                ", xjbh='" + xjbh + '\'' +
                ", bloodType='" + bloodType + '\'' +
                ", xjType='" + xjType + '\'' +
                ", xjWeight='" + xjWeight + '\'' +
                '}';
    }
}
